import request from '../utils/request';

//服务投诉
export const selectAllComplaints = param => {
    return request({
        url: '/complaints/selectAllComplaints',
        method: 'get',
        params: param
    });
};

export const selectAllByTime = param => {
    return request({
        url: '/complaints/selectAllByTime',
        method: 'post',
        params: param
    });
};

export const delComplaints = param => {
    return request({
        url: '/complaints/delComplaints',
        method: 'put',
        params: param
    });
};